package com.dljd.javase.t11.input;


import java.io.FileInputStream;
import java.util.Arrays;

public class FileInputStreamDemo {

    public static void main(String[] args)  throws Exception{
        FileInputStream  in=new FileInputStream("D:/mda-mi05cyx4x9xwapqk.mp4");
        int len=-1;
        byte[] bs=new byte[101];
        while((len=in.read(bs))!=-1){
            System.out.println(new String(bs));
//            System.out.println(Arrays.toString(bs));
        }
    }
}
